//classify.js
const util = require('../../utils/util.js');

Page({
  data: {
      active:0,
  },
  onLoad: function () {
    
  },
  select: function (e) {
    let that=this;
    let indexs = e.currentTarget.dataset.indexs;
    that.setData({
       active:indexs
    })
  },
  allGoods: function () {
    wx.navigateTo({
       url: '/pages/allgoods/allgoods?names=咖啡'
    })
  }
})
